<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%--<h1 class="page-title">账号设置</h1>--%>

<table class="display" id="example">
    <tbody>
    <s:if test="#request.resources==null || #request.resources.size()==0">
        <tr>
            <td colspan="5">暂无数据</td>
        </tr>
    </s:if>
    <s:iterator value="#request.resources" var="r" status="sta">
        <tr></tr>
        <td><input type="checkbox" value="r.id" id="resource_${r.id}" name="resource_checkbox"/><label style="margin-right: 10px;" for="resource_${r.id}">&nbsp;${r.name}</label></td>
        </tr>
    </s:iterator>
    </tbody>
</table>
<p>
    <%@ include file="/WEB-INF/pages/common/main_orgtab_pager.jsp" %>
</p>